//
//  BQPageControl.m
//  BeeQuick
//
//  Created by AaronWei on 2017/7/14.
//  Copyright © 2017年 BecomeRich. All rights reserved.
//

#import "BQPageControl.h"

@implementation BQPageControl

- (void)setCurrentPage:(NSInteger)currentPage {
    
    [super setCurrentPage:currentPage];
    
    for (NSUInteger subviewIndex = 0; subviewIndex < [self.subviews count]; subviewIndex++) {
        
//        if (subviewIndex == currentPage) {
        
            UIImageView* subview = [self.subviews objectAtIndex:subviewIndex];
            
            [subview sizeToFit];
            
//        }
    }
    
}

@end
